home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
ansi
/
ansit100.zip
/
ANSITDOC.ENG
< prev
next >
Wrap
Text File
|
1992-05-01
|
17KB
|
362 lines
██████▄
███ ██ ████▄ █▄ ████▄ ██ █▄ █████▄ █████▄ █████▄
███ ██ ██ █ ██ ██ ██ ██ ██ █ ██ █ ██
███▄▄██ ██ █ ██ ██▄▄ ██ █ ██ ██▄▄▄█ ██▄▄▄█ ██▄▄
▓▓▓▓▓▓▓▓▓███░░░▓▓██░░█░██░░▓██░░▓▓██░▓█░▓██░██░░▓█░██░░█░▓██░░▓▓▓▓▓▓▓▓▓▓▓▓
▓▓ ███ ██▄▄█ ██▄▄ ██▄▄▄ ██▄▄█▄▄██ ██ █ ██ █▄ ██▄▄▄▄ ▓▓
▓▓ ▓▓
▓▓ PRESENTS ▓▓
▓▓ ▓▓
▓▓ ▓▓
▓▓ ANSIT! Version 1.00 ▓▓
▓▓ ▓▓
▓▓ Copyright (c) 1992 Steve Danielsson ▓▓
▓▓ ▓▓
▓▓ BENCHMARK DOCUMENTATION ▓▓
▓▓ ▓▓
▓▓ ▓▓
▓▓ ▓▓
▓▓ ▓▓
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
CONTENTS OF THIS FILE
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
OVERVIEW.................... What ANSIT is and why you want to use it.
USAGE....................... How to use the program.
BENCHMARK DESCRIPTION....... Detailed description of the tests
performed by ANSIT.
ADDITIONAL NOTES............ A few notes on the interpretation of
the benchmark results.
ADVANCED OPTIONS............ ANSIT commandline arguments to run in
auto-mode. Programmers should be interrested.
FINAL WORD.................. How to reach me and my thanks.
OVERVIEW
▀▀▀▀▀▀▀▀
There are a lot of ANSI drivers on the PD/SW market, and most of
them are much faster then ANSI.SYS - but which one is the fastest?
ANSIT! gives you the answer. It's a benchmark program testing how
fast your machine (or your current ANSI driver, actually) can
execute ANSI escape sequences, screen writes and scrolls.
So load an ANSI driver and run ANSIT! You can compare different
ANSI drivers to see which one is the fastest on your machine.
Besides, it's fun. I tried to make this program look pretty,
not just execute.
Is it really worth the trouble to test an ANSI driver, install
another one, reboot the machine, test it and so on ?
The answer is an unconditional: Yes!
Look at the file INDEX.RES. It's a result file produced by ANSIT
on a 12 MHz AT 286. Four popular ANSI drivers are tested, and as
you can see, the fastest one does screen writes 4 times (!) faster
than the slowest one. Four times faster screen writes is worth some
trouble! (You could beep up the screen writes by using Shadow RAM
BIOS or a software BIOS, but it's preferable to use a ANSI driver
that takes care of this itself).
Note however that the results in the INDEX.RES file is valid for
that machine only, don't take them for granted.
The same ANSI drivers may (and propably will) perform different
on your machine, with your graphics card and your setup.
For the curious user I've included REF.RES
This is a result file for different machines, all tested with
ANSI.SYS loaded in a 'clean' setup. There is no need or real
interrest in compairing your machine to other machines but if
you want to do it for fun, look at this file.
The ANSI driver you're testing must be able to handle most standard
ANSI sequences, but don't worry - I haven't seen one that doesn't!
This program won't look that fancy on a monocrome monitor, you'll
need color to really enjoy it, but the test is just as valid.
All in all, ANSIT is the complete ANSI workout. It tests everything
the ANSI driver does (with the exception of keyboard redefinition).
It also tests the speed of screen writes/scrolling so it can be used
to benchmark Software BIOS replacements as well as ANSI drivers.
If you don't have a clear understanding on what a ANSI driver is
or how DOS handles screen output, I recommend you to read the ANSI
TUTORIAL file included (ANSITUT.DOC), right away.
USAGE
▀▀▀▀▀
Program usage is simple, enter ANSIT <return> and you'll see
the first menu. Select ESCape to abort testing or <S> to start
the benchmark program. Five different tests are performed as
described below.
When all the five tests are executed, you'll see a graph
displaying the current ANSI performance.
The 'Speed Index' values given represents the speed of your
machine's ANSI processing. Higher value = faster ANSI.
The Speed Index scale will not show the entire scale of 0 to 14.
Instead you will see the part of the scale valid to your machine.
That is, the scale could go from 0 - 6, 5 - 11 or whatever is
enough to display all your index values.
Now you may choose to Exit or Write a report file to disk.
The reportfile option will create a textfile called ANSIT.REP
and write the Speed Index values for all tests to the file.
You will be asked to name the test, this isn't a filename but
a name written to the report file.
ANSIT checks for the existance of the reportfile before creating,
if it already exist, ANSIT will append to it. This will
create a neat table if more than one benchmark is executed.
The built-in ANSI file display timer:
To display an ANSI animation or textfile, enter:
ANSIT <filename> [<times>]
<filename> is the name/path of the file to display.
<times> is (optional) times to display the file.
Default is 1 time.
For further information on this function, see the next chapter.
You may interrupt the benchmark by pressing Ctrl-C / Ctrl-Break.
BENCHMARK DESCRIPTION
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
What does this benchmark measure, really ?
It measures the time it takes for your machine to perform
different ANSI escape sequences, text and character output
and scrolling of the screen.
The speed of the computer does, of course, affect the result,
but the most important is the speed of the graphics card and
in particular the ANSI driver loaded. Needless to say, the
faster your machine/graphics card/ANSI driver can perform these
actions the faster screen output you'll get.
Benchmarks are often "theoretical". This is strait forward.
If a test is performed faster with one ANSI-driver than with
another, the output really IS faster. Simple and fool proof!
Note that programs using direct screen writes is bypassing the
ANSI driver, writing directly to the screen. The ANSI performance
only affects applications writing to STDOUT and/or using ANSI
escape sequences. All DOS funtions does this, so the ANSI driver
performace does count when typing textfiles, displaying ANSI
files, directory listing etcetera.
Now, let's examine the different tests in detail.
The tests performed by ANSIT is as follows:
---------------------------------------------------------------
Test 1: Position Cursor.
Test the ANSI escape sequence:
Position Cursor CUP ESC[n;nH
Set Graphics Rendition SGR ESC[n;nm
CUP an